//
//  CustomAlertView.h
//  Elife
//
//  Created by 拓客营 on 2022/4/14.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN



@interface ShowCustomAlertView : NSObject

+(void)showCustomAlertWithTitle:(NSString *)title
                      leftTitle:(NSString *)leftTitle
                     rightTitle:(NSString *)rightTitle
                     leftAction:(nullable void(^)(void))leftActionBlock
                    rightAction:(nullable void(^)(void))rightActionBlock;

+(void)hiddenAlertView;

@end

@interface CustomAlertView : UIView

-(instancetype)initWithTitle:(NSString *)title leftTitle:(NSString *)leftTitle rightTitle:(NSString *)rightTitle;

@property (nonatomic, copy) void (^customAlertLeftActionBlock)(void);
@property (nonatomic, copy) void (^customAlertRightActionBlock)(void);

@end

NS_ASSUME_NONNULL_END
